package com.fun.feifun.modules.sys.auth.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fun.feifun.modules.sys.auth.model.SysMenu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 系统菜单 Mapper 接口
 * </p>
 *
 * @author wkf
 * @since 2022-04-21
 */
public interface SysMenuMapper extends BaseMapper<SysMenu> {

    List<SysMenu> getListByRoleIds(@Param("roleIds") List<Long> roleIds) ;

    int getMaxSort(@Param("parentId") Long parentId);

}
